#include "gui/objects/GUIObjectsContainer.h"

namespace gui {

GUIObjectsContainer::GUIObjectsContainer() {
	this->CHANGUI_IN_PIXELS = 30;
	this->factory = new GUIObjectFactory();
}

GUIObjectsContainer::~GUIObjectsContainer() {
	while (!(this->guiObjects.isEmpty())) {
		delete (this->guiObjects.removeFirst());
	}
	delete this->factory;
}

util::LinkedList<GUIObject> GUIObjectsContainer::getGUIObjects() {
	return this->guiObjects;
}

}
